Imports System
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports DotNetNuke
Namespace NVPortal.Modules.NVTuyenDung

    Public MustInherit Class Viewer
        Inherits Entities.Modules.PortalModuleBase

#Region "Event Handlers"
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                'If Not IsPostBack Then
                If Request.Item("tuyendung") <> "" Then
                    Dim o_control As UserControl
                    o_control = CType(Page.LoadControl("~/DesktopModules/NV_TuyenDung/Display/Detail/Detail.ascx"), UserControl)
                    Me.plhNews.Controls.Add(o_control)
                End If
                If Request.Item("ungtuyen") <> "" Then
                    Dim o_control As UserControl
                    o_control = CType(Page.LoadControl("~/DesktopModules/NV_TuyenDung/Display/Detail/User/ungtuyen.ascx"), UserControl)
                    Me.plhNews.Controls.Add(o_control)
                End If
            Catch ex As Exception
                ProcessModuleLoadException(Me, ex)
            End Try
        End Sub
#End Region
    End Class

End Namespace
